import Vue from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'

Vue.config.productionTip = false
// 全局过滤器处理价格问题
Vue.filter('priceFilter', (value) => {
  const str = value + ''
  return str.length > 5 ? '¥' + value / 10000 + '万' : '¥' + value
})

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
